<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		
	</head>
	<body>
		
		<script type="text/javascript">
			var num1 = 3;
			var num2 = 5;
			var result = num1 + num2;
			console.log(result);
			// String str = "10";
			// int num = Integer.parseInt(str);
			var str = '10';
			console.log(num1 + str);//310
			var result2 = num1 + parseInt(str);
			console.log(result2);
		</script>
	</body>
</html>
